package cn.undraw.util.log.annotation;

import cn.undraw.util.log.enums.OperateTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 异常日志注解
 * @author readpage
 * @date 2022-11-29 18:55
 */

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ErrorLog {
    OperateTypeEnum type() default OperateTypeEnum.ERROR;
}